package com.yanfan.energy.domain.statist;

import java.util.List;

/**
 * @author caijinkang
 * @date 2022年12月09日 13:58
 */
public class AttendanceStatistics {
    /**
     * 工位出勤率
     *
     * @author caijinkang
     * @date 2022/12/9 14:00
     * @param null
     * @return null
     */
    private Double rate;
    /**
     * 到岗人次
     *
     * @author caijinkang
     * @date 2022/12/9 14:00
     * @param null
     * @return null
     */
    private Integer arrival;
    /**
     * 开机数量
     *
     * @author caijinkang
     * @date 2022/12/9 14:00
     * @param null
     * @return null
     */
    private Integer starting;
    /**
     * 已处理任务总数
     *
     * @author caijinkang
     * @date 2022/12/9 14:00
     * @param null
     * @return null
     */
    private Integer task;


    /**
     * 已处理批次数
     */
    private Integer processedBatch;

    /**
     * 平均处理批次时长
     */
    private Double avgProcessedTime;


    /**
     * 出勤统计
     *
     * @author caijinkang
     * @date 2022/12/9 14:01
     * @param null
     * @return null
     */
    private List list;

    public AttendanceStatistics() {
    }

    public AttendanceStatistics(Double rate, Integer arrival, Integer starting, Integer task, List list) {
        this.rate = rate;
        this.arrival = arrival;
        this.starting = starting;
        this.task = task;
        this.list = list;
    }

    public Double getRate() {
        return rate;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    public Integer getArrival() {
        return arrival;
    }

    public void setArrival(Integer arrival) {
        this.arrival = arrival;
    }

    public Integer getStarting() {
        return starting;
    }

    public void setStarting(Integer starting) {
        this.starting = starting;
    }

    public Integer getTask() {
        return task;
    }

    public void setTask(Integer task) {
        this.task = task;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Integer getProcessedBatch() {
        return processedBatch;
    }

    public void setProcessedBatch(Integer processedBatch) {
        this.processedBatch = processedBatch;
    }

    public Double getAvgProcessedTime() {
        return avgProcessedTime;
    }

    public void setAvgProcessedTime(Double avgProcessedTime) {
        this.avgProcessedTime = avgProcessedTime;
    }

    @Override
    public String toString() {
        return "AttendanceStatistics{" + "rate=" + rate + ", arrival=" + arrival + ", starting=" + starting + ", task=" + task + ", list=" + list + '}';
    }

}
